﻿//=====================================================
// Copyright © 2017-2018 xuxuzhaozhao
// All rights reserved
// GUID: e0336e78-bbaf-42cc-a918-56e5c60d6479
// CLR版本: 4.0.30319.42000
// 命名空间名称: xuxuzhaozhao.Blog.Application.XuUser.Dto
// 文件名: XuUserRegisterInput
// 当前系统时间: 2017/11/7 10:54:57
// 当前登录用户名: xuxuzhaozhao
//======================================================

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace xuxuzhaozhao.Blog.Application.XuUser.Dto
{
    /// <summary>
    /// 注册用户输入
    /// </summary>
    public class XuUserRegisterInput
    {
        [Required(AllowEmptyStrings = false,ErrorMessage = "用户名不允许为空。")]
        public string UserName { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "密码不允许为空。")]
        public string Password { get; set; }

        public string RealName { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "手机不允许为空。")]
        public string Phone { get; set; }
    }
}
